package com.qf.service;

import com.qf.model.StandardSubmit;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 限流策略 五分钟内限流
 */
@Service(value = "limitFiveMinutes")
@Slf4j
public class LimitFiveMinutesServiceImpl implements FilerChainService{

    @Override
    public boolean strategy(StandardSubmit standardSubmit) {
        log.info("[策略模块 - 限流策略 - 5分钟限流]，开始执行，StandardSubmit={}",standardSubmit);
        return true;
    }
}
